package com.wanxi.dao;

import com.wanxi.model.ProductModel;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class ProductDao {
    private static List<ProductModel> listForHome = new ArrayList<>();
    private static List<ProductModel> listForCompany = new ArrayList<>();
    private static List<ProductModel> listForProduct = new ArrayList<>();

    static {
        listForHome.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForHome.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));

        listForCompany.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForCompany.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForCompany.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForCompany.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForCompany.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForCompany.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));

        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
        listForProduct.add(new ProductModel("蚂蚁上树", "粉丝200g，猪肉馅50g粉丝200g", BigDecimal.valueOf(11), new BigDecimal("11"), "../img/48_j53b.jpg"));
    }

    public List<ProductModel> getListForHome() {
        return listForHome;
    }

    public List<ProductModel> getListForCompany() {
        return listForCompany;
    }

    public List<ProductModel> getListForProduct() {
        return listForProduct;
    }
}
